package com.kgis.fm.platform.model.metadata;

import com.kgis.kp.model.LifecycleModel;

/**
 * 设备放置优化表
 * 
 * @author zhxiaomiao
 * @version
 */
public class FeaturePlacementOptable extends LifecycleModel {

	private static final long serialVersionUID = 1L;

	private int id;
	private int fcno;
	private int fno;
	private int cno;
	/**
	 * 是否必须组件
	 */
	private boolean isRequired;
	/**
	 * 是否可重复
	 */
	private boolean isRepeating;
	/**
	 * 是否自动重复
	 */
	private boolean isAutorepeat;
	private int ordinal;
	/**
	 * 组件表名
	 */
	private String ctableName;
	/**
	 * 组件类型
	 */
	private short ctype;
	/**
	 * 是否详图
	 */
	private boolean isLogical;
	/**
	 * 主图形组件号
	 */
	private int primaryGeoGraphicCno;
	/**
	 * 主属性组件号
	 */
	private int primaryAttributeCno;
	/**
	 * 主详图组件号
	 */
	private int primaryDetailCno;
	/**
	 * 节点数
	 */
	private int numberOfNodes;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getFcno() {
		return fcno;
	}

	public void setFcno(int fcno) {
		this.fcno = fcno;
	}

	public int getFno() {
		return fno;
	}

	public void setFno(int fno) {
		this.fno = fno;
	}

	public int getCno() {
		return cno;
	}

	public void setCno(int cno) {
		this.cno = cno;
	}

	public boolean isRequired() {
		return isRequired;
	}

	public void setRequired(boolean isRequired) {
		this.isRequired = isRequired;
	}

	public boolean isRepeating() {
		return isRepeating;
	}

	public void setRepeating(boolean isRepeating) {
		this.isRepeating = isRepeating;
	}

	public boolean isAutorepeat() {
		return isAutorepeat;
	}

	public void setAutorepeat(boolean isAutorepeat) {
		this.isAutorepeat = isAutorepeat;
	}

	public int getOrdinal() {
		return ordinal;
	}

	public void setOrdinal(int ordinal) {
		this.ordinal = ordinal;
	}

	public String getCtableName() {
		return ctableName;
	}

	public void setCtableName(String ctableName) {
		this.ctableName = ctableName;
	}

	public short getCtype() {
		return ctype;
	}

	public void setCtype(short ctype) {
		this.ctype = ctype;
	}

	public boolean isLogical() {
		return isLogical;
	}

	public void setLogical(boolean isLogical) {
		this.isLogical = isLogical;
	}

	public int getPrimaryGeoGraphicCno() {
		return primaryGeoGraphicCno;
	}

	public void setPrimaryGeoGraphicCno(int primaryGeoGraphicCno) {
		this.primaryGeoGraphicCno = primaryGeoGraphicCno;
	}

	public int getPrimaryAttributeCno() {
		return primaryAttributeCno;
	}

	public void setPrimaryAttributeCno(int primaryAttributeCno) {
		this.primaryAttributeCno = primaryAttributeCno;
	}

	public int getPrimaryDetailCno() {
		return primaryDetailCno;
	}

	public void setPrimaryDetailCno(int primaryDetailCno) {
		this.primaryDetailCno = primaryDetailCno;
	}

	public int getNumberOfNodes() {
		return numberOfNodes;
	}

	public void setNumberOfNodes(int numberOfNodes) {
		this.numberOfNodes = numberOfNodes;
	}

}
